package com.example.testjni;

import android.util.Log;

public class TestBean {
    private String userName;
    private String password;
    private int age = 30;

    public TestBean(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
        Log.e("JAVA", userName);
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public static int staInt(int si) {
        Log.e("JAVA", si + "");
        return si + 1;
    }

    public static TestBean staBean(TestBean testBean) {
        Log.e("JAVA", testBean.toString());
        return testBean;
    }

    @Override
    public String toString() {
        return "TestBean{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
